<?php
/*
 * Created on 09/01/2012
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

include "../conexao/conexao.php";
$conn =  conectar();

include "../funcoes/config.php";
$config = new config();

include "../funcoes/funcoes.php";
$funcoes = new funcoes();

$query =  str_replace("%","{$_GET['id']}",$config -> sql_gecko_atualiza_compra);
$query =  str_replace("?","{$_GET['codVenda']}",$query);
$result = mysql_query ($query) or die($config -> msg_erro_banco_consulta . mysql_errno() . " - " . mysql_error());

echo $result;

?>

